EdgeShapeFunction
EdgeShapeFunction is an option and annotation for Graph and related functions that specifies a function to use to generate primitives for rendering each edge.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.